using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using AvaloniaNotes.AvaloniaNotesDBContext;
using AvaloniaNotes.Models;
using System.Linq;

namespace AvaloniaNotes;

public partial class NoteDetailWindow : Window
{
    private NoteDBContext ctx = new();

    public NoteDetailWindow()
    {
        InitializeComponent();
    }

    private void Expander_Collapsed(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
    {
        this.Height = 258;
    }

    private void Expander_Expanded_1(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
    {
        this.Height = 600;
    }
}